import authRequest from 'supports/requests/authRequest'
import normalRequest from "supports/requests/normalRequest"

export function getTravelsList(data) {
  return authRequest('travels',{ data: data })
}

export function travelsUse(data) {
  return authRequest('travels/use',{method: 'post', data:data })
}

export function travelsDraw(data) {
  return authRequest('travels/draw', {method: 'post', data: data})
}

export function getCardDetails(id) {
  return authRequest('travels/' + id)
}

export function travelTesting(data) {
  return authRequest('travels/testing', {method: 'post', data: data})
}



